Helpful Information
 
 
Category: vBulletin 3.0
Add "unban" link in ModCP on Banned Users

When a user search is done in the ModCP, it shows Ban as an option beside the username.

What this hack does, is look at the usergroup when displaying the table, and if the user is in usergroupid 8 (the default banned group) it displays "unban" so that it is clear that the user is banned. This 'unban' link takes them to the unbannng function in banning.php and unbans the user.

VERY simple to install. :)

If you have multiple banned groups, you can change that "8" to an IN (8,x) format.

Enjoy!
Please note: I have the 'Mods change usergroup' hack installed, so the screenies are showing that link as well -- that is not default vB, but the rest is!

Screenies are of before and after:

Do you need to add this phrase, too?

$vbphrase['unban_user']

Sorry - thought that was in there. Reuploading file.

Thanks!

:)










privacy (GDPR)